Add test for invalid datetime attribute on <time>
Throw error on invalid datetime attribute
Use object instead of string for valid element test