make test not depend on date formatting, fixes #43

@sorvell @rafaelw ... I went for minimal change here, but we could switch away from date strings to other generic strings. I also debated renaming "dateObj" vs just leaving it... let me know if you have a preference, otherwise I can just merge this. :)