tests for #format and #format_inline for direct invocation