Adds documentation and tests to custom title behavior