Added several missing unittests.