Reviewed the existing tests and codified the afected classes to pass the test.

Pending two tests of test's class of admin, because we need to discuss how to proceed with two method of the class.