added more integration tests