Add JButton, finalize and catch tests.