MatToByteArray works and MatToBufferedImage too ^^
fix typo and add test