new minimal testing for hooks.