Test declarered and declaregreen