Added do-while integration test with a large N value.
Added return value/exception checks after internal method invokation.