Unit tests for the base functionality.