Gateway tests

Activate tests in gh-2515 by moving them under `test/integration`. The files will need flake8'ing, but the tests should pass which will make the merge of 2515 valid. The fstest here will need another commit to remove the `if False` section that I added to get this in.