Added testRelativeFragmentOnly for PR #28 NPE fix