Basic unit tests for the security filter.