Fix 'mix test --cover'

Without this change calling `mix test --cover` will crash.