Additional collection tests and code
Fixed edge case of getting first of next month

When the first of the next month is the specific date, it would not
select it, this change fixes that issue.