Resolved @Ignored tests; usage of writeRaw was not correct