Refactor Hive storage testcases into a separate test class