Add tests around curry concept