added test for RuntimeException