fix unit tests for new internal nginx rules