added test_runner
added test case for leave_application