Added dict comprehension tests

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>