Fixed tests for popups