test and function for recipe filtering, expected test result outcome given in task is not correct bc of the year