Removed hard-coded domain from integration tests
Added in terminate ability to SWF