Copy over (cleaned up) brace position tests to python.
Undo some spurious whitespace changes