Exercise: TDD a basic stack without using a test library (Java version)