Changes to get test passing under DynamicInjector.

Registration is really ugly since this is a syntax error in Dart:
    ..value(ParameterizedType<bool>, ...);

Does not work with the static injector as that generates code looking for ParameterizedType and not ParameterizedType<bool>. Because of the previous syntax error mentioned, I'm not sure how to do this.