Add test to check that empty strings aren't cached.