enable base64 encoding.
Changed tests to clean before they run.