Tests: add validation tests