added real integration tests