added module merging - see tests/merge directory (--merge flag)