added spec for custom exception