Tests for dict key ordering