Add formatting tests