Tests: fixed some

...but I'm not able to fix the rest.

There's one view test which fails and I don't know why.
The rest of the rests seem to be failing b/c code doesn't work.
In their case the fix might not be that trivial.