#72 Added test for switching frame by index
#72 Added test for switching windows/tabs by index