basic integration test for rate-many and ranked-vote
fix assert_no_content - has_no_content is different from \! has_content

both will wait to see if their condition becomes true through ajax. So while \!has_content will return false if the content is still present has_no_content will wait for the content to disappear.
only add style block in header if there's content for it