Add test for non existing key in dictionary