[test] cleanup + added test for validation when register an user

parameter `html` is not used