fix storage engine detection for tests