send byte[] plan over RMI and fixes to test