Added basic byte operations and some tests.