Implemented writeRgbaFrame and removed rgb from the tests