Add more tests

`locals` is evil. Banhammer.