Test for spatial memory