fixed throw test