Fix use of destructors in crafted destructors.
Match embind tests to reported exception.