Test casting array members in int