Added code to tests and add method to String on subclasses Imoveis and Agente.