A unit test modification that confirms that we set permissions correctly