Fix bug in failing on empty test_command

This has been addressed.