Added required fields test.