bugfix: pre-commit stashed too often
tests for previous bugfix