[StellaDBTest] Added test cases
[StellaDB] Fixed an issue that reopening empty tree might fail