SERVER-14507 fixed command not found test to check error code instead of message