Simple "validation framework" for learning purposes