Adding bulk erase tests
Added more tests and performance tests
Various new tests and fixes