Adding test for privileged APIs: systemXHR and deviceStorage