Refactor sampled test queries into a separate abstract class