So the way that tests work currently, it takes a series of simple statements, delimited by ; so your testhit gets split into ```if(x=y){x=0; ``` and
```}```
For some unknown reason it still passes :( 
We need to fix that in the tests, but for your code, just remove the semi-colon and the test will behave properly.