swt and background agent test