fix tests for mock proxy