test refactoring
Completed backend test refactoring; now LevelDB passes 10 out of 14 tests