Creating Message equals impl. and fixing tests

Used IntelliJ to create the proper implementations for
equals and hashCode methods. Also fixed file sharing
tests to ensure that we have a different copy of the
file on the received side of the transaction.