Converting UserIsBlockedTest to unit test.