Add tests for data_uri module

Address reviewer comments