Lots of groundwork, some basic tests.