unit tests added for 'accessLevel' and 'activeNav' directives