Removing unneeded test exception throwing