DBEngine fix bug and add compact test case.....