Setup tests discovery functionality.