Apparently, the jQuery UI Datepicker plugin needs to be set up on the input before I can call `.datepicker("getDate")` on it. This is normally done on page load, as the comment above states, but needs to be done as part of the set up for this test so that the code I modified in base.js works correctly.