test: merge two similar tests