Added tests for AEAbstractFilter::toggle