update with more details test cases.
Here is the prototype for handling base64 data upload.