Tests should not use `g_assert()`
The documentation of g_assert()
says not to use it in tests. We should replace it with the g_assert_*()
family of macros intended for use in tests. See https://bugs.webkit.org/show_bug.cgi?id=192841 for example.