added a couple validation tests