+ added test db generation