Added test case for when an param built through an aliased typehint is missing a definition for one of it's parameters.
Added bugfix to get correct exception message for the above.