Add tests/fixes for edge case of 0-argument arrfunc