Stack Testing using JUnit