Run tests on local repo ONLY unless CI=true.

This prevents a super annoying bug that was causing local repos to be
broken (due to the cherry-picking).
Merge pull request #84 from rjackson/refactor_test_task

Run tests on local repo ONLY unless CI=true.