updated tests
added a db package
fixed for SDK 1.7.5