add tests for -parts and -memlimit
Merge pull request #140 from Garonenur/genomediff

add tests for -parts and -memlimit