exclude splice from function search
Updated tests