reword
tests for swtGetData and swtCheckData