Added throwing test