test: don't use assert_nothing_raised

It's meaningless.