Fix tests.

Use bytes.