Added test for overwriting a property with a model