Testing without angular - Element is not displayed