fixed some integration tests