Added spec for raise error.