add unit tests for nested draft3 "required" properties
fix unclean separation of draft3/4 "required" property