semantic: Fixed bug in array comparison
test: Improved and fixed array comparison test