Implemented BehaviorResource, BehaviorDomainResource, JsonBehavior, and
related tests.