refactoring

* fix tests
* add dummy data generator
* add benchmark
* fix convert logic for RGB_565