add lightweight test for custom formats