Added tests for KWFormatter