Fix #780 so that fill works with all aggregates

Fix issue #780 and add integration tests for each aggregate
to test filling with null and 0.