Added instance_of tests to model spec