ticket:3 fixed errors in test