use ERL_FLAGS instead of a shebang to launch tests