added tests for invalid time formats for PIWindow