string as uri options implemented, a small bug fix in tests