Adds unit tests.