Fixed some more accounts manager bugs with specs