authorMerger bugfix; tests implemented