Start implementing context update and fixing up compressor tests