fixed test since it relied on XML serialization, but the default is HTML
fix for exception on malformed request URL (fixed LUX-50)