Fixing the functions tests.