Test ami from global config