Added tests for multiple locations in the database.