Fixed test to ensure bucket and key names are always non empty.