model unittests for generated model added