remove unused variable
do not catch Exception in test