The unit test code has a way how to emulate the WOPI access, test/WopiTestServer.hpp. It would be extremely cool to actually do something similar in the loolwsd itself when built with --enable-debug, and use that for accessing the local files instead of the special LocalStorage. That way, even opening the local files would test the WOPI code paths, instead of having separate ones for local files and separate for WOPI.