Tests

closes #39