Reorganize AccountTest source code.