Fixing unit test for nginx