test logico