Fixing a ArrayIndexOutOfBoundsException in CommandAccountOpen.class and adding a test to make sure it doesn't reappear again.