fixes #2563 enhance and() & or() method
added test for multiple variables
Merge pull request #2713 from hasancelik/fixes#2563

fixes #2563 enhance and() & or() method