Updated the test file to incorporate the usage of deepEqual for checking the equality of arrays now that my stackoverflow question was answered.