remove unused bean, update doc
add tests for AccountService