Added Negative Exception test.
Added for Negative Exception
Minor fixes