added test for instance