Fixes test to amsstore