Resolve issue #21.
Add missing functional tests for adding and editing Pets.