Update tests.py

isoformat() is proper now