Adding helper methods to dynamically add title if needed. Edited test to work with new functionality