tests for reading locations running with active record