Add tests for Resource
Add mock to test requirements list