add DummyData generator class to tests and refactor others.
add QueryGenerator class - to be used by Android and Java SQLite.