Testing the title functionality