fix tests by removing net connection and using leveldown