Ruby tests with solutions