Testing for selectivity bias in panel data models