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