add validity check to test, now fails