updated tests
updated onClose to clean up views