Added banUnknownProperties support
Add tests for banUnknownProperties