Add basic test for avoider middleware