added some tests for the updated validation rules