Added some basic tests.