Added test that shows how pcollections can be corrupted while writing to dataset target