move title helper tests to their own file