Add test for agent resources:
Address Peter's comments
Fix import
Merge pull request #117 from elenadeneva92/resources-test

Add test for agent resources: