Add tests for time/quantity interaction