rocks storage: fix several unit tests