Do some more primitive math
Fix signedness
Add test for compare-bytes