Add test for array usage #484