added some localdisk db tests and working on fixing bugs