More sophisticated subselect regression test