updated specs to reflect byte array changes, added missed tests