Cleanup of test code, test for unknown commands