Fix bug in failing on empty test_command