fix tests
add very basic validation