added test for arrow functions with rest param