Adding a few unit tests for the top level.