Replace bitwise AND with logical AND
Add extra dependencies for Python to be able to run the tests.
Merge branch 'pr/5'