Fixed issue where warnings on line zero would break unit tests.

Small fix.