Quantum logics seen as quantum testability theories