Fix front end test. Add test-front to pre-commit.