remove extraneous test
refactor encode -> base64