Fix runtime tests