Use MemberData to get rid of boilerplate code in functional tests