add timezone in test; add trim attribute array element blank space