Use relative filename in redefined def warning

The absolute filename can be a bit long, which makes the warning
slightly harder to parse for humans.
Put overridden def test in warning_test.exs

This removes the need for a separate fixture.