added test for exception in helper