Fixed message for custom test duration zero and negative, fixed unit tests for the same