First test with logical expressions working