Fixed compiling error.
Fixed the unit tests. Tested Send class instead of Session due to errors. Let's not test this abstract class but rather descendants.