Implement test helpers for comparing sql statements