Changed tests methodology. Each SQL part to be tested are in files in
order to be reused.