Added test-case for errors raised by LevelDB