tests: Align more with ObjFW style

ObjFW's style changed over the years, but the tests were never adjusted
to it.