remove debugging and add tests
Make it 32 bits, focus on IP4 first