Temporariliy reintroduced resource_in_tab for ajax tabs

To get the tests working. To be refactored, modularized and replaced later, along with fixing and updating all the tests. This will need to be re-enabeld for vln only.