tested Note.scala