added ast junit tests