Updates to trunk tracking branch. Add inline unauthorized resources test and fix rendered image dimensions test.