Adding unit tests for AIF and A?IF.