adding unit test for the ruby app