test: extract test method style test definition patterns for combined query