Use parameterized to test with and without dictionary.