adds popup events tests, changes events\' names same to a select
Merge pull request #177 from vitkarpov/popup-events-tests

Popup events nb-opened and nb-closed