updated ami with latest stochkit2 version and added tests