testing hamiltonian