Remove duplicate array keys from tests