removed dependency on test/unit and make tests run on ruby 2.2.0