Updated Ruby version to 1.9.3-p547
Added some tests