[PATCH v2 2/3] unit: Update key restriction unit tests for modified l_keyring API