location tests

test the active record model: Location.