Added fail() asserts to Invalid input Tests