Update crimsonTest.dart with new syntax

Update crimsonTest.dart with new syntax for latest Dart release. Not quite sure about the safety of line 39.