fix variable names in test