Change order of tests for p_tags