Fix fragment parsing.
Test uri parsing.