change return git status to return in _hasTestCases function