Fix appendBy... projection
Add test