Adding tests for newsletter::getTitle method