added data validation checks for accounts, campaigns, codes with tests