added some tests.