Library and unit tests in Ruby