Logical reasoning test