Testing the linearity of quantum mechanics: high-amplitude motion of a massive object