docs: add git hooks setup to contribute guide
docs: document how to run tests in contribute guide