added test for level db