Unit tests fixes

Unit tests passed on CentOS 6.5 with this fixes
Merge pull request #249 from DSRCompany/develop_fix_unit_tests

Unit tests fixes
TRQ-2690: add a warning saying -s and -o should not be used together; else, only the output of the mother superior is shown.
TRQ-2690: Fixed punctuation to prior checkin.
TRQ-2845: Fixed tmp_time math in mom_main main loop

Fixed tmp_time math
Moved the logic to a function
Wrote a unit test