adapt test to new no-throw behavior in b6b9b93d30e