fix story testing on osx