added some logging for Parser, one assertion for Date class dayOfWeek() method