[MINOR] Split function tests differently
[MINOR] Split function tests differently

This commit change the split of the function tests a bit to reduce the
testing time further.

Closes #1463

apache/incubator-systemml,apache/incubator-systemml,apache/incubator-systemml,apache/incubator-systemml,apache/incubator-systemml,apache/incubator-systemml