fix unit tests of stories