tests added for error transformations