Cleanup exception in test

Signed-off-by: chatgris <jboyer@af83.com>