Move the test_common_command function to the end