Modified the test to return bytes

This is the sames as url_open does.