move integration test into main test