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

we actually need this one for the integration tests (see https://github.com/osiam/connector4java-integration-tests/pull/196#issuecomment-59281020)