add several integration tests