Move all posible tests in big testsuite from python to lua (all except sql.test, that seems to me obsolete, cause we don't use SQL anymore)