Added throw test