more tests for cal.rb