Unit testing for AMS Core