Make functions with 4 parameters testable