Topic/replace tabs api memory issue

I have created some test cases for the replaceTabs API.

One of the tests creates a Tab with a view that repeats the test every 2 seconds.. and that is what I used to profile the app.

I noticed that the replaceTabs is not public, so I'm not sure if we want to have these test cases here or somewhere else.