Updated MainAccountTest to test more scenarios