gtk3 test: more meaningful test case

avoid to use assert_nothing_raised.