added pre commit hook for running tests