added tests for resources model
Merge pull request #21 from salamanders-2014/addingMoreTests

added tests for resources model