Added tests for format parameter