working on integration specs(failing)