using formatter and fixing the integration test