updated test to check for title too