cursor stays in place when running nearest test