Wrote some functional integration tests for distinct date