Tests

Closes #18