Remove deprecated TestPendingException