Fix tests

QGenericCode edit does not exisits anymore