Update crimsonTest.dart with new syntax

Update crimsonTest.dart with new syntax for latest Dart release.