Typo at typemap code
Add formatters to XS `croak`s to inhibit a malfunction
Add teakey to test case so that it passes