Update union method for php 5.4, move union assertion to testUnion, remove join functions from ArraysTest