Refactored TestFiles for library-based kvpm and in-cassandra kvpm.