Added a BytePacker and some new tests