unit tests...

having syntax errors
use datetime