'Identical to above test_save_load'

def test_save_load(self):

    policy = ResnetPolicy(['board', 'liberties', 'sensibleness', 'capture_size'])
    model_file = 'TESTPOLICY.json'
    weights_file = 'TESTWEIGHTS.h5'
    model_file2 = 'TESTPOLICY2.json'
    weights_file2 = 'TESTWEIGHTS2.h5'
    policy.save_model(model_file)
    policy.model.save_weights(weights_file, overwrite=True)
    policy.save_model(model_file2, weights_file2)
    copypolicy = ResnetPolicy.load_model(model_file)
    copypolicy.model.load_weights(weights_file)
    copypolicy2 = ResnetPolicy.load_model(model_file2)
    for (w1, w2) in zip(copypolicy.model.get_weights(), copypolicy2.model.get_weights()):
        self.assertTrue(np.all((w1 == w2)))
    self.assertTrue((type(policy) == type(copypolicy)))
    os.remove(model_file)
    os.remove(weights_file)
    os.remove(model_file2)
    os.remove(weights_file2)
