add constructor to Scanner
modify bean of Scanner
modify Scanner of CartServiceTest