test returns null if no piece at location passes