Add test class to test excluding external popups

This test class will check to see if external popups are excluded from
the final state flow graph.