added syntax/logical tests to check nested logical operators with different numbers...