Fixed some inconsistencies in terms used in the Permission Handler
Permission handler tests added