WIP: Basic tests

The tests directory used to just be an HTML file for playing around in. This should really have real unit tests instead. This PR gets that started.

Right now, there’s only one test. I’d like to add a few more before merging this in.