ticket:10 fix error test on getbarista