fix double assignment syntax error in tests