test: Fix mock function to call the real one