[test] automatic test case for single-instance

automatic test case for single-instance