Fix all issues for Core Quantum Unit Tests