add new tests and methods for byte array
added io package and configuration for net.packets