correcting dict comprehension in tests....