Duration is now tested, added method setDuration in Note