Splitting tests out from pre-commit hook