Added test for get_instance