ACCESS-138: fix the FUNCTION related test cases