updated tests to use mocha and added test case for keepArrayIndentation option