added formatting tests