wrote a few simple tests for filterController