tests discovery