Added tests for Format