Shell extensions self tests contact running shell
The shell extensions self test (plugins/shell-extensions/gs-self-test.c) contact the running shell. In my case they fail, because I have only system extensions installed (the tests expect at least one locally installed test).
Perhaps the shell D-Bus API should be mocked up somehow?