added tests on popup