added automated testing
added a title helper