new tests and  validate test file created
fixed validation bug and created tests