Beginning ByteArray support, cleaned up some tests.