Fixed: minor bugs of IntegerArray after first implementation. Added: a test file for IntegerArray