Test
Fixes issue where all errors weren't caught.