completed unit tests