Replace deprecated test assert statements.
Add conditional install of plonetheme.classic in upgrade step 4.0a1. Since plonetheme.classic will be removed in Plone 5, we can not be sure that it always installed.