Migrate tests to unit or integration
Fix running of fstest
Import missing wrap function
Fix whitespace in test_get_objects.py
Merge pull request #2592 from joshmoore/rebased/dev_5_0/gateway-tests

Gateway tests (rebased onto dev_5_0)