add remote resource and corresponding tests
fluent interface for querying the endpoints