improve the integration spec and change formatting