fix variable names in tests