Working on filter and learning how to do unit testing