test model classes in specs created in runtime