Finished unit tests for the Popup class.