making sure schema.constructor is a function
Using extended models in test cases