Added negative test for bad output format