Add tests for Resources