simplify definition of compose
remove export
update jest