Implemented presenter tests. Refactoring.