fixed tests, and added tests for get method with path.