fixed test for heisenberg and xyz