moving into lib
fixing test testling hook