Fixed error in RankListRecordTests()

Added initialize state for the tests to clear a file that is being used
multiple times