improved logging by adding name() method interfaces
fixed failing test