test for format argument