Added more tests for rest parameters