test 1 and 2 arity forms of compose