Change the MainWindowTest to more similar to textbook. Check the onClickListener using jmock