Added Test Cases & updated package structure for dbimpl