modifying middleware (bug) and adding a test filter