Use checkout-index and grunt to run pre-commit tests