add mockedOpen class to test utils