Added unit tests for 1bpp graphic r/w functions