[PATCH 4/4] unit: Add tests for key-based asymmetric crypto