Add repl reformat test.

@seancribbs