added some more integration tests