BearRunnerTest: Fix invalid length check

https://github.com/sils1297/coala/issues/105