Added unit test

Finally got ruby going, unit test added and passes.