add test to ruby v2.1

since ruby head is 2.2dev is important keep that version here
Merge pull request #722 from lucianosousa/patch-1

add test to ruby v2.1