added specific validation error
added tests for validation error