[Unit Tests] Add more Unit Tests for Editor FormatPainter

* Also tests against the bug fixed in e4142fde536bfd4cf4b8e578f62713eaf89ab0a2