outdated test removal
fix undefined index