Add more tests. Use note creation time in case of empty title