Modified protocol test to avoid error due to localtime