added account switching tests. fixes #9.