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