Adding tests for message class
Adding history class tests and exposing some functions