[fix bug 841320] Fix multiple test failures.

Correctly patch date object in API tests.

Update UserAvatar demo fixtures.