added exception to test