Add unit test for ExportToGenepop. Fixes #125.