Test that elements exist