I think you can make these tests depend only on `comp` without losing anything

    list(map(comp(inc, square), range(4))) == [1, 2, 5, 10]