improve accounts tests