Added test to avoid duplicate titles