add tests for empty base64 and hex entries