Added basic tests.