Add dipole test to test_rpmd.py