Integration tests

Includes positive and negative checks, with automatic discovery of test cases in the `test-data` directory.
Yes. `render` does not add a trailing newline.