Added a test for allowFuture = false

No change to existing functionality. Just testing existing behavior.
Added "allowPast" setting.
Added docs for "allowPast" setting.