move tests to conn. fix infinite rows problem.