Permission Repository Tests