completed the bulk test code and added an array to csv static utility function