ticket:3 improved test