add 2 tests for convertion function port_address <-> index