Added messages property and tested it and the constructors