Writing tests for the midrawing.rb file.