Test Hamiltonian added