Extended testing for apply_arrfunc, removed test_aux.cpp