[PATCH 2/2] unit: update base64 test with API change