Added tests for X::TypeCheck::Argument. (RT#76368)