add formatting tests