Added a test for set location