Tests refactor

Refactoring tests.
Separating tests on different folders.
Creating task to test controllers, services or functions separately or test all.