A simple Swing GUI example with unit testing