Adding tests for milibrary.rb