CASH: added unit tests to Dialog presenter