('Check type', function (done) {
            var style = 'error';
            alert.visible = true;
            alert.type = style;

            setTimeout(function () {
              var el = alert.$$('.alert');
              assert.include(
                el.classList.value,
                style,
                'Classlist contains new type class'
              );
              done();
            }, 5);
          });

          test('Check title', function (done) {
            var title = 'A new title'