go method test modified