Add tests for "format" output option