Test resource encoding
Encode the person

Oops. Encodes as nil.
Encode answers nil when resource service is nil
Service initially nil, assert that
Test encoding using default JSON formatter