Added sql result test