make test_exceptions_white_list more robust