moved integration tests to new file