fix for linux time parsing and windows idle system process
added test for time parsing