Added tests for resources and their methods. Also added tests for the json model.
9 files changed