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

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