added test for source.rb