improving integration spec