Started on some unit tests.