remove space
simple test for get_device_pixel_ratio
add docs