added more unit tests; added clear; made unit test array