add test coverage to curry functions