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