The old needle was still matching but on the wrong X button, so we dismissed the wrong notification and tests failed. This seems to solve it. Signed-off-by: Adam Williamson <awilliam@redhat.com>