Test of the weak-equivalence principle in an Einstein elevator