adding a regression test for #257
closing #257 by avoiding switching tab when there is no such ID
keeping up