Testing a class using BlueJ