filter_year function
test filter_year