Add tests for URL and method construction

Added tests for the simple resources. Not yet able to test nested resources.