Adds account validation & tests