Add unit tests
REST deserialization unit tests
REST serialization unit tests
REST unit tests for processing errors