Defined required fields and added test off required fields