Added tests for places controller