Ground tests of magnetometer-based autonomous navigation (MAGNAV) for low-earth-orbiting spacecraft