Use coretest in AMI test script