Fixed tests for bad commands