Add type translation and test for some exceptions