format: add formatting tests for print! and dump!