Updated unit tests for MutableArray to test different types of input array