added test in TestType model