update tests: update code standards

update code standards
update tests: replace dingus module

replace dingus module with mock module.