Bug 994195 - Add tests for RawResource (r=margaret)