Fix karam unit tests