Fix var assignment in test

@mtoader turns out we have false friends in the tests. I'll start reviewing all the tests to make sure they contain proper Go code else we might have bigger problems down the road.

In this example: 
- original code http://play.golang.org/p/aDXyn9gQgL
- proper code http://play.golang.org/p/flJUF7d0UU