'Verify that ``rand.write_file`` and ``rand.load_file`` can be used.'

def _read_write_test(self, path):

    with open(path, 'w'):
        pass
    try:
        rand.write_file(path)
        size = os.stat(path)[stat.ST_SIZE]
        self.assertEqual(1024, size)
        rand.load_file(path)
        rand.load_file(path, 4)
    finally:
        os.unlink(path)
