add more valid and invalid tests