Added test to pre-commit.