@jonasheinrich You changed the title, but what about the "[...] this test [...] doesn't do what it should" part?

As you can see it doesn't catch the change you made with adding the visible scope, which I think it should.