adopted unit tests part 1