take a look at the homework answers - Ruby provides a simpler way to implement. I ran the homework answers against your additional test and it passes all of them.