Returned diary details.
Avoiding same diary title for same user.
Improved test for same title and different users.