Added tests from AVIM regressions & bug fixes

Outstanding but non-critical failures are commented out.