trick with scope to let tests pass