Added formatter#applyFormatterToContent tests