You are testing only the invalid cases... perhaps you should add a valid case also.