QUnit tests datepickerLoad

Introduction of tests for datepickerLoad's helper functions.
Bug fix

Removal of false return statements.