Fix server variables filter
Add testcase for server variables filter