SwingTest modified