Quantum optical test of observation and complementarity in quantum mechanics