Add tests

Shouldn't this be `name`?