Implemented new unit test for 2body PBC

this test catched a bug: 9e2debb
thanks @gmedders!