tests: added test_single_instance