Uses dict in test