core/test.mk: Build application before its tests
core/test.mk: Build application before its tests

This fixes compiler warnings if modules under `tests` implement
behaviors defined in `src`. This way, we make sure behaviors are
compiled before the test modules.

rabbitmq/erlang.mk,crownedgrouse/erlang.mk,ninenines/erlang.mk,jj1bdx/erlang.mk