Added tests for removing user and activity bar.

Cannot run these yet on my computer, so the tests may not pass!