Add some new tests, and found weird error on python3

compute_displacements(ptraj, pairs, periodic=True, opt=False) seems to give the wrong shape only on python3, fine on python2. very odd.