Fetch value of a key which has "-" in Tests

This is a duplicate question, you can find the answer here: