test: check also values instead of assert_nothing_raised