add test/cross-validation