solved issue #26 and enabled close event tests