add test for arguments of functions

this is a main purpose of array_view
unify to one file