Fix sql javastring order

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>
Created a class that tests your sql schema by creating
an sqlite-database in python and creating everything
in there. Plan to add basic insert/update/delete
tests as well.

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>