Added a test to SecurityFilterTest and did some minor refactorings