add more tests and update readme for raw pixels buffers