A homeless man has denied assisting in the disposal of a dead body to impede the apprehension of a murder suspect and is due to stand trial next year.