testing from and to