added particle shift function, modified some tests that were silly