gtk3 test: use assert_equal instead of assert_nothing_raised

assert_nothing_raised does check anything. So we should not use it as
little as possible.