Refactor SWT tests

Create utility classes for creating SWT widgets in test classes to make tests more readable.