Rewrote tests for syntax correctness. Generated models for all objects.