fix variable assignment in test