Added simple test script for gpu p3m.