Rename and Add tests
Fix busy loop when native buffer is full