Added relationship testing to Permission