Fix broken tests after rename sharedInstance -> HTMLReader
Convert windowBackgroundColor correctly and add test case for it