ticket:3 better test