the empty string is not a class name nor a role name
should be able to pass a hashref to the constructor
Moose RegexpRef type constraint mysteriously accepts blessed Regexps; do the same
nix a few warnings
tests pilfered from Moose