Added test for adding locations