Added command failure handling for TestTreadmillKeyCodes class