fix to the diary entry test