Test that X11 env is triggered correctly