Added many tests.