Adding a ruby test for dictionary