Regression test for #37.

Also clean up example.

BUG=https://github.com/dart-lang/dart_style/issues/37
R=pquitslund@google.com

Review URL: https://chromiumcodereview.appspot.com//779373002