move validators into their own file
add validation tests