Modified create unit tests to reflect isValid