[#1479] Faris: Added tests to _header_links to test the header when there is no permission given to user.