Add popup directive tests

dev_test_popup