Upgraded to sling 2.4.2 API and provided a simple implementation of isResourceType to MockResourceResolver