Adds tests for Zero Injection

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