Add tests for Pileup (issue #2)

This a work-in-progress and the last test is currently disabled because
it depends on #30 being implemented.

I will keep adding tests, but it can be useful to do a merge of the current status.