fix tests
Merge pull request #931 from jay-hodgson/SWC-1325

fix tests