Allow null in setTimes

fixes #3
Merge remote-tracking branch 'origin/master'

Fixes #1
fix a test
When copying set attributes on target not source

fixes #4