SLING-3884 - fix two failing tests, patch contributed by Stefan Seifert, thanks

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1621267 13f79535-47bb-0310-9956-ffa450edef68