tests: make both storage tests inherit from an abstract class
This prevents tests from the base class from running twice