a sensible test for hamiltonian process