Testcrud e Testquerydb fixed (ok with sqlite and postgresql)