- add pattern match to check correctly formatted string has been assigned to each attribute if type is string - add more tests