aggregate: Add test ensuring static functions can't be called through an instance variable.