Added tests for parsing and creating models from json