Added several tests.