I managed to get the following result: I could make the test pass by including elogind in my system. Then I made it fail again by the following: 1. sudo unmount /run/user/1000 2. sudo rm -rf /run/user/1000