Test clarity

Create a test directory and keep mains separate from each other.
Also Danny's new_tests.
`packet_test.c` shouldn't have a main, it should provide test functions to be called elsewhere.