Add tests for Array#equals
Fix issue with Array#equals where it wouldn't expand Arrays properly