added title helper and edited tests