Revert "[tests] Fix, omit deprecated code"
Revert "[tests] Fix, omit deprecated code"

This reverts commit 7bf445ce

dpgaspar/Flask-AppBuilder,dpgaspar/Flask-AppBuilder,dpgaspar/Flask-AppBuilder,dpgaspar/Flask-AppBuilder