fixed selectDate and some renaming
Cleanup and some test for testDay