stomach ulcer test and treatments