add unit tests

keep selection after starting/stopping bundle