rearrange test method