Added some basic validation tests