Condense tests for title and h1