The transition from free molecule to collisional flow during vaporization into vacuum by the test-particle method