fix user functions test