test-lib-functions: adjust style to match CodingGuidelines