Add tests to make sure functions are curried
Improve test requires