Move project_*_tests() from tasks.py to utils.py