Adding some nesting tests for AIF and A?IF.
Adding a nesting test for AAND.