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

typo+style: maybe something like `Registration of a user with malformed email returns HTTP status 400 (bad request)`?