remove use of xargs in test