Can you run Java programs on the Arduino? Maybe.
Test-driven development is among the most important ideas about how to develop software in the past 20 years or so.
If what you're doing is Scrum in isolation, it won't work. Scrum requires a much larger corporate culture of agility.