fixed the error in scenario test