making change so anybody can register prehooks
adding generated mocks and testing for all the packages i've created