dict max test