Was testing for RuntimeExcpetion but passing for NestedServletException - Corrected that.