Move base64 test code into a new tests subdirectory