add tests, improve&test HQuantumSet