Adding some rudimentary tests.