private boolean testNetworksAccount(){
		int testIndex=0;
		boolean bError=false;
		Properties twitterAccount= null;
		Properties blueviaAccount=null;
		Properties facebookAccount=null;
				
		++testIndex;
		twitterAccount = Util.getNetworkAccount("aleonar@gmail.com", "TwitterAccount");
		if (twitterAccount!=null){
			logger.severe("Checking NetworkAccounts #"+ String.format("%02d", testIndex)+": Database empty but getNetworkAccount got one (twitterAccount)");
			bError=true;
		}
		twitterAccount=null;
		
		Date date = new Date();		
		Util.addUser("aleonar@gmail.com","aleonar",date.getTime());

		++testIndex;
		twitterAccount = Util.getNetworkAccount("aleonar@gmail.com", "TwitterAccount");
		if (twitterAccount!=null){
			logger.severe("Checking NetworkAccounts #"+ String.format("%02d", testIndex)+": user1 (aleonar) create but with no NA but getNetworkAccount got one (twitterAccount)");
			bError=true;
		}
		twitterAccount=null;

		++testIndex;
		Util.addNetworkAccount("almo@live.co.uk","TwitterAccount","consume_key","consume_secret","access_key","access_secret");
		twitterAccount = Util.getNetworkAccount("aleonar@gmail.com", "TwitterAccount");
		if (twitterAccount!=null){
			logger.severe("Checking NetworkAccounts #"+ String.format("%02d", testIndex)+": user1 (aleonar) create but NA added to other (almo) and getNetworkAccount got one (twitterAccount)");
			bError=true;
		}
		twitterAccount=null;
		
		++testIndex;
		Util.addNetworkAccount("aleonar@gmail.com","TwitterAccount","consume_key","consume_secret","access_key","access_secret");
		twitterAccount = Util.getNetworkAccount("aleonar@gmail.com", "TwitterAccount");
		if (twitterAccount==null){
			logger.severe("Checking NetworkAccounts #"+ String.format("%02d", testIndex)+": user1 (aleonar) created, NA added but getNetworkAccount didn't get (twitterAccount)");
			bError=true;
		}
		twitterAccount=null;

		++testIndex;
		blueviaAccount = Util.getNetworkAccount("aleonar@gmail.com", "BlueViaAccount");
		if (blueviaAccount!=null){
			logger.severe("Checking NetworkAccounts #"+ String.format("%02d", testIndex)+": user1 (aleonar) created, NA added (twitter) but getNetworkAccount got other (bluevia)");
			bError=true;
		}
		blueviaAccount=null;
		
		++testIndex;
		Util.addNetworkAccount("aleonar@gmail.com","BlueViaAccount","consume_key","consume_secret","access_key","access_secret");
		Util.addNetworkAccount("aleonar@gmail.com","FaceBookAccount","consume_key","consume_secret","access_key","access_secret");
		
		twitterAccount = Util.getNetworkAccount("aleonar@gmail.com", "TwitterAccount");
		blueviaAccount = Util.getNetworkAccount("aleonar@gmail.com", "BlueViaAccount");
		facebookAccount = Util.getNetworkAccount("aleonar@gmail.com", "FaceBookAccount");
		
		if ((twitterAccount==null)||(blueviaAccount==null)||(facebookAccount==null)){
			logger.severe("Checking NetworkAccounts #"+ String.format("%02d", testIndex)+": added twitter, bluevia and facebook NA but they all aren not there");
			bError=true;
		}

		Util.deleteUser("aleonar@gmail.com");
		return bError;
	}