tests for the location model