Add geometry bytes unit test