Fail builds that do not specify a test command
Move method to git_repo to promote code reuse