minor fix for funtion contract unit tests