Added test for Throwable return