fixed bugs in picking up story number, added test result output to rally