finished unit testing demo