test7 added to test the modifications in 4-index, 2-index, and Ham.