Adds tests for Zero Injection

Closes #2166.

Adds tests that tests date histogram aggregations are returned in the proper order.