simplify tests with 'dictproduct'