Quantum optical tests of complementarity