ensure that test_command? only returns boolean