MDL-38687 behat: Add activity step modification

We are only supposed to look for
the activity name in @class=typename
MDL-38687 behat: New test

According to MDLQA-4590, an admin
can restore a course back up with
it's settings retained.