Check both exit codes in pre-commit hook
Update common unit test specs