Three interacting atoms in a one-dimensional trap: A benchmark system for computational approaches