We can skip tests programatically with:

https://mochajs.org/#inclusive-tests
With this we can move tests from tests/functional/deprecated folder into their respective test file in test/functional. Just need to add a describe block for the deprecated tests and test if idb or rest transport is being used used. If not we can just skip those deprecated tests.
Originally posted by @abmusse in #157