Fixed newline warning for test.cpp
Fixed unnecessary header in filter