Add a test for 3-dim integral.