Instead of using eql here, I would check if the keys.include? "v6" and "v7". It would make the test more robust to name changes in spec data paths.