#410 make a real unit test suite for razor

The tests are obviously an extremely limited placeholder for real testing.  As I work through building out a replacement storage engine this will grow - and as bug fixes are submitted, they will come with a requirement that tests are built.