completed unit test