Fixed QUnit tests. Added array initialization & modification tests.