You have the right idea. We can not use AAV's here so you would have to run the vent through the roof or tie into another vent, but, if AAV are acceptable in you area, you're good to go. Of course, if it's not getting inspected, you're the only one who has to live with it.