moved CodeToModel to tests

CodeToModel are used in Test project only so they are moved there.
CodeToModel converters are used in tests to assert if the generated code
is what we expect it to be.