fixed bugs in cross_validation. test() method succesfully loads the
model.