implemented main command test
implemented test_command